added script for plotting cdf of hops (not sure if it works)