doccer system copied from the z-windows directory.
need a central place for this.
