Added functionality to be able to turn on/off the generation of contacts with images.