Fix up the various plotting scripts.
@d74ksy reports a bug when the same tasks are ran consecutively, also the scripts need updating for all the new task subtypes.
@d74ksy reports a bug when the same tasks are ran consecutively, also the scripts need updating for all the new task subtypes.