Script to pull and get alerts ect
I have no idea what this used to do, but now it should do what I want it to do