Add option to set cwd of casper (fixes #9)