Added support for large database exports