Add module to filename
When executed on batch with one job for each module, writing is performed to the same file for all jobs. If file was already created by one of the job, it overwrites by the other. As a solution a module name have been included in the output filename, so, that different jobs writes to different files. Alternatively one can use option 'a' for the h5 file writer. This would forces all jobs to add information to the same file. However this may faces a problem. If file have been created by previous run of the notebook, it would already have all entries and h5 writer brings an error.