cleaned up and prepared profile files for injected menus