Added Segment Scripts