Fix the migration script loading.