TFS Flags Calculator