Updated the logic surrounding creating an array of locations to upgrade. Also using while loop to pull in from a file, rather than readarray builtin function to be more backwards compatable.