Scripts for the images and some minor corrections