Added code to rekey the array from the spreadsheet