Maquiabelo there's a few settings you can tweak at the top of the script:
local battCells = 5
or 7 will override auto-detection. problem with guessing the number of cells is an empty 6S looks like a full 5S so one of them cannot be guessed.
I've added auto-detection of armed/disarmed state as reported by dRonin -- not the switch position on the radio. When disarmed the flight mode will be INVERSed in the display with voice call outs when it changes.
The GPS coordinates will display last known position even if the LiPo gets ejected -- could be used as a lost drone finder.