• Thanks for this script - see below (edited)