Updated plots to support multiple output files.