Extract CLUSTER_NAME and use it consistently.