Script is great and works very well, but I'm with FordLawnmower on the code layout. There is never any need for such long lines of code, that's what the Enter key is for.
I would start on the next line instead of using " | " but I guess it's down to personal preference. I think it makes it a lot easier on the eye if you wish to edit or look at the script & removes the need to scroll in the editor.
For this reason I would not use this script, I could edit it to make it how I like it, or I could just use another or write one.