Replaced PIL with pillow