//make the clusters//
string $string_joints[] = `ls -dag stB_joint1`;
for ($u = 0; $u < 100; $u++) {
string $clstName = ("stB_Cluster"+($u + 1));
string $clstNameRot = ("stB_Cluster"+($u + 1)+"Handle.rotateAxis");
string $joint = ("stB_joint"+($u + 1));
select -r ffd_st1LAT.pt[0:2][$u][0] ffd_st1LAT.pt[0:2][$u][1] ffd_st1LAT.pt[0:2][$u][2];
cluster -n $clstName;
//orient them to the direction of the joints//
select -r $clstNameRot;
rotate -r -os 0 0 -90;
}