Added inital sms functionality to code