write CBF flags