Started work on log switch of plots.