add scripts and simplesub for dqm