change the sms file position and change the http post function