config file loading check added