We now save the DM vectors to use it in other scripts.
Also, the output is sorted