added save svg and save dna functions