changed chdir to cd