Fixed sendsms method

updated the variables from the url