finish window version, and add ruby script to extract data