@Misalf
I redid the squashfs check and added the failsafe, but using a different form of conditionals that reduced that part of the script to 3 lines, and simplified another part also
This enables it to do more, with 6 less lines, and all under 80 columns.
This turned out to be a good learning exercise. Thanks for the suggestions :-)