fix windows scripts also