replaced PIL requirement with Pillow