Add new module open_hook (debugging tool)