Updating plot scripts to add plot generation code