Allow patching of the cwd to allow outside execution