Config reading added.