Uses process.cwd() and checks for missing dirs.