added possibiliy to plot ME and mass using same macro