Tap on the script's name, then the "share" icon, and select "Export...".