Fixed 'chdir' command.