Switch ts back to shared
Switch to python pillow