config reader improvements