Update migrations to use new config_text tool and fix dependencies