updated wscript