publish macros