Just an update that this all worked perfectly, and the script is now perfect. Thanks, everyone, for your oustanding help!