Updated config reading