replaced process.cwd with __dirname, just replacing known folders