@jeremycherfas I’ve popped the script onto a gist. Not a thing of beauty but it works for me 😉