Add run_only_safe_commands check