add checking for existing image for rhos