Final commit. Alarm tested and debugged.