Make sure to geenrate month group before generating lines then generate lines and then add month group text