Thanks for your mod. Will you make another file that uninstalls it also? (People kept asking for that for my mods).
You have a couple of extra spaces in your step 6, try using code tags instead of quote tags for that, it should work better.
People who write their own shell scripts or use the shell should be aware that they run as root, there's no safety measures in place anywhere, so it's easy to brick the device and no way to undo...