add monitor.sh script for md/ folder