First error correction, need to add database export