cleaned up how config levels are defined