query to proceed if not in ENV