fixed wscript