Save the initial working directory and change to it just before running