simplify wscript