Update DM validation dialog and hook up scripts!
Code cleanup.