Added RevMsgHook.php