Simplify wscripts