Adds chdir command