minor wscript bugfix