Fork of original generateDS from http://sourceforge.net/projects/generateds/