cwd from arg