Changed chdir to cd for changing directories