Changes to get list of selected teams.