review response: change where ifPurge is parsed out of the envContext