pass pylint, add functions for image and flavor stats