Add a switch to change the working directory