Added flags to non mode open