Greatly simplify wscript