change XDT to use %HOME% env