Update monitor.sh