SMS rewrite