Adjust where commands must be run.