Added segment.io support