Modify DNA generation script to avoid duplications