This is great. Thank you so much for this. I’ve extended the use of it a bit more, as it didn’t work straight away for me. https://gist.github.com/jcranny/6657e401bab0e1f499601c202bdc5ee1