Added database export feature