script for k means on shots gaurav