update monitor.sh for mlutitask