Attemp at exporting Database