Added set cwd option