modified twilio sms function