Corrected bug in the cluster builder script