pythonscript viewlet implementation