export database creating macro