renamed custom_cmd to custom_command, don't override global ok return values