add scripts to seperate nn and dn