Change __dirname to process.env.PWD