update gen.sh to use new shp source