adjusted logic on images
Version bump to 1.0.7
patch for images