DB connection update

to match the new FirmStats
added a batch to dump the database into CSV