adding sql export