Thanks for the help. That gets me part way there. Using "up," the script finishes, but not all the commands work. I think some are unsupported.
(The script uses curl to post my IP address and credentials to an API that returns the port number that has been assigned to me, which I then add...