Changed the image that is pulled to the originally uploaded file and added a check to place the url into the correct array key