Added code to add/remove image_refs