Migrate to config schema