move check for include_url_in_sms to main functionm