Script to make clusters and write out trajectories of clusters