scripts to send alerts