added default collect and cwd