Make script conform to pep8 (partly)
Shorten long linse to 79chars max (pep8)