config-reader improvements