run as shell script
pylint and pep fixes