Config reading updated