@obrie572 The modifications have been merged by @pjft, so they they should be available in the -dev branch right now, until promotod to the stable branch.
I will be reading into shell scripting a bit more to hopefully eliminate questions here relating to shell scripts. If anyone has a couple sites that would be good reference paste them here.
The canonical reference is https://tldp.org/LDP/abs/html/, highly recommended for anyone starting or learning Bash scripting.