Updated to create initial directory