Hi
Kindly try using the script from given source as its the updated repo from owner https://gist.github.com/dacarroll/12f53cb90052b29452a03571587519aa
Please do let me know if you face any issues in comments section.
Thanks,
Akshay Kaushik
Please "Accept the answer", "Upvote" and share your feedback (Yes/No) if the suggestion works as per your business need. This will help us and others in the community as well.