I was able to resolve the issue by removing all the old mine_ALGO.sh files from the /media/m1/1263-A96E directory. I assumed these would not interfere with the new switch.py script.
I wouldn't have thought those would interfere as the new script shouldn't call them, but I "git rm"'d them before the latest commit. Odd.