Update to boundary reading code