script to process data for analysis on blog