allow use of casper with a different cwd.