Updated script to v2.  Need to add example plots for it, but part 2 takes forever to finish.