Remove unneeded code and output server-add-to-cluster command on debug