adding first iteration of the script for plot 4