Added dependencies and PIL troubleshooting