The Plexamp upgrade.sh script needs a check to see if the current version is up to date, and also if jq is installed. I made these revisions and placed the script in my pi home directory. I posted the script on the Plex Forum here: https://forums.plex.tv/t/plexamp-headless-upgrade-script-upgrade-sh/840760