finish moving code out of clustering driver
finish handling parameters in cluster