Updated to create a single, three plot pdf file