Adding PIL required flags