added segment.io
fixed path in sendtext.js
added segmentio