updated alert.py to produce reports and alert on pH changes