Parse out exits and do portals