updated cluster script