you can just use __dirname to infer the path process.env.PWD is unreliable here