if "command" option is present, run that command