pep8 and path fixes for images