Added bztk_getTeamFromFlag()