pep8 issues, save plots, and counting in the path