Rework config to allow localization