added clustering scripts