change Loader and template code to support new web_config.cfg file