Write cluster_settings file during clustering