search env for value if not among event flags
search env for value if not among event flags