more modifications to the download desdm routines