converted monitor script to a framework script
add monitor script