export for cwd