Changed Pillow import to use PIL module rather than Pillow (which doesnt exist)