storeAlerts script written, now for testing