First draft of the exporter