Changed the array of images to a hash so an id can be managed for each image, makes matching easier.