Script for sending alerts.