Great!
With your permission, I converted it to version 5, replaced the V4 file posted earlier, and did a little more refactoring for cleanup. I also copied the usage examples from the Windows batch file and included them in the header portion of the script to assist non-Windows users.
Thanks and have a great day.
Russell