Update change_wdir, delete_dir, list, and print commands.