Please ignore the attached file. I wanted to refactor the code a bit, but I realized too late that it was not easy because of the level handling (-Sg vs -Sgg), so I gave up, but I forgot to remove the attachment...