change cwd for 2.7 also