Added script dumping DB, switched to new DB struc