fixed a bug: changed th path of setting to the correct one
added package pil to be installed