Finished the image checking stuff