The URL, USER and PASS parameters currently defined at the start of the script as constants should really live in a separate config file, probably ~/.upsheet. The script should try to read the file when starting. If the file is missing, a dummy version should be created, the script should give the user instructions on how to fill it out and then exit.