Delay the loading of the chi config
removed unused function and loading of the chi config