added PIL libraries for #7