Corrected migration 005 and updated the migration script.