MES 3.0 Scripting Examples