Revert "Simplified cluster script."

This reverts commit 492317567529916cbc92a149ce4503f3364476a4.