Specify Segment UIDs, slightly more robust script parsing