Script bug - any input appreciated

Thanks, i hadn’t thought about using a group but now that you mention it. It makes better sense …
Will give that a go later …