Only write out if at end of processing
Merge laptop work on @CommandMod and added values for @PluginMod