Changed cluster_name to a global variable