Use process.cwd() instead of process.env.PWD