return to original directory after executing a command in a subdir