Updated to use getTeamName helper instead of getting the name directly from config.