Using process.cwd() instead of process.env.PWD. Fixes #11