Edited scripts to generate plot images.