fixed alarm off script