push attributes to inside of modules, allowing use of the  macro