minor changes to wins script.