Check out the DM2/MIDI User Forum for more details.
It really works wonders with the performance aspect of the DM2. No longer am I hindered by keeping a button pressed when i want to scratch. It’s so awesome.
It definitely makes the $30 toy worth it.
The direct link to the howto + script is here.