changed the image registry handlers, for some reason