changing hardcodes to process.cwd()