Added comments to plot tool