updated config to load dynamically