add backwards compatibility

apparently this patch caused plot IDs to be shifted, breaking older versions. Fixed it now
Merge branch 'patch-plot-ids' into Refactorization