added save/load for plots