Sms group deploy

A better re-implementation of #587