Add setting for using alarms versus intervals.