add cwd var back in