included logic for handling sms messages for both testing and production

(commented out)