The issue of sections is of course something to bear in mind. As I said earlier, without access to the documents,it is impossible to be precise about what needs to change
I have fixed the log issue - the update is on my web site.
Document Batch Processes