adapted flags to cf convention