move ods creation to the end of the migration