Added cases for open flags