modified alarms processing, added admin command.