Updated to export format from new version of logic.