move to a global config