Check this out. I did this last year but did not write any copious notes on how I did it. I always do that. We’ll I need to use it and don’t recall how it was done or which script I imported does it. Here it is.
This may be one option:
~j