finalize archetype-setup.sh script