support for priority rules, prob with dups test
tracking down pushenv bug
Corrected bug wrt pushenv