run: add option for installing archive-server and customizing hooks