Adaptnig the DM installation for new versions.