Fixing weirdness in wscript