ControlScripts: complete hook_monitor script