putting the script files and the plot