Some CKII flag stuff