Adding in code for Alert scheduling