fixed wscript after cleanup