made the plot images be specified in one place raather than over multiple files