style changes in templates and category adding for mssm in produce_macros