fix cluster.sh script