set working directory for commands