FYI :
There is a small bug in the release I gave you guys ...
I had the image width getting set twice by mistake ... I had duplicated the lines of code for setting image width and had not changed the duplicates to set the height ... the corrected lines are below.
x = app.GetValue("Passes.RenderOptions.ImageWidth")
PPG.ResWidth.Value = x
x = app.GetValue("Passes.RenderOptions.ImageHeight")
PPG.ResHeight.Value = x