fix windows scripts