D'oh! Fix process.cwd --> process.cwd()