added generate_cdx.sh to build file