Added chdir and pwd.