Adding general script for segment.io.  We'll add more support later