modified TextPeaksMac to have better prism export