Are you willing to share the script? Using the pi /share command it will publish it to a Gist on GitHub