Modifying existing Macro with module

You can rewrite the macro, but far better to do a hook as explained at the bottom of this post: