add init script for alerts, closes #212