Debug function for sending sms added.