added throwing exception when config not found