Add 'smstools' role and fix related bugs in other roles