Added portals as a config param