Start of script to generate clan from config directory