#791: load_logic.php, wrap logic with 'if (flag_validator)'