Prepare for export