use process.cwd() instead of exec pwd