added alerts and remote logging