add options.cwd to set current working directory for command