Bugfix old wscript.