Run pyflakes and pep8 and update