mainly, make the decisionmaking on using the config json better/more flexible