fix archetype script