Okay, I think I fixed the code, and I added documentation. Could you see whether the current version works for you? If so, I will release it as a new version. Cheers, Marijn