added tool for generating csv files