added some remote monitoring stuff