Hi Benjamin,
thanks for the info (now I see my earlier mistake reading the script, sorry). For me it works now. For anyone encountering problems, make sure that the path to the directory where your files are is an absolute path. A relative path at least didn’t work for me.
Thanks Benjamin for the great work you did btw.