change config.automatic_images_minimum_component to
config.automatic_images_minimum_components