fixed wscript for new handler