Wrote script to populate database from csv files