diffgen: added diffgen script driving off .cmdenvrc