See instructions in cdd\_gen.sh