updated scanner stuff in case we go back to using portal blocks