Refactored launcher script and incorporated the cluster-provision lib file