Pep8

Just PEP8ize whole script. It is difficult to work with the script otherwise.