updated macro to create module correlation profiles