style changes; added register feature to SMS commands