Job wrapper scripts
Some clusters are built with architecture optimised libraries. Where these are loaded using a module file this needs to be done on the execution rather than submit host to ensure the correct paths are setup. Consequently, job submission must be by a shell wrapper script that loads these modules and then runs the payload. Adding this functionality will have the added benefit of enabling 'reproducable' jobs, e.g. saving out the wrapper script as a document of how the task was run. This needs the ability to capture the loaded modules, pass these to the plugin along with the prefix file name of the script to generate ('-' if this does not need preserving). The plugin should then generate a script with the arguments encoded in the header (if appropriate for the batch software) naming as prefix-jobid if required to be stored and then submitting.
Within the plugin, the arguments will need grouping into lists of lists if the header is to be generated reliably.