check for a "env" in the XDM install dir