This looks ok, but I don't see this used in any of the existing scripts.