Scanning of config file fixed