I hope I am not missing the blatantly obvious and this is available but if so I am not aware.
A few contributors to this forum, notably @abcd567 and @wiedehopf (apologies to any I have not mentioned) have some very useful scripts on github.com - it could be handy to have a link for new and established users to these facilities.
Geoff