Add a macro for setting the hook
will it take this?