Change remaining this.env.cwd to process.cwd()