Update refresh-alarms script to newer style initialisation.