add generate.sh to generate archetype version