Added Corrected pgmDemo4.script