Fix wscript for plugin