testing script.py for alarm treatment