Added pillow dependency for making thumbnails.