Modified read-config to accept multiple sections