place cwd on scope