Script for Generating Plots