chdir is working