new output for gala segmentation
updates output format