Make the cluster mode configurable