Overhaul Segment.io integration