making script pep8 compatible