add config options, sms handling now works