removing chdir