Flagging add on to CaVEMan