change 'Monitor' defined place
fix dscript generate bugs