Nearly ready to run, small bug to fix with adding last batch of data to final DB