added segment.io configuration