script to load data into db