adding configuration setting for image2