do_log cases of evaluate_enveq
do_if cases of evaluate_enveq
match cases of evaluate_enveq, tweak statement slightly