fix osx service and remove seg, segs and other nonsense