Changed PIL to pillow.