Moved alerts to separate file