completed script for plot 1 and added image