You could use shc to compile the script to binary. I cant recall if thats available on SailfishOS, but otherwise, its fairly simple. Sources for shc is available so if its not already in repositories, it Can be compiled and used. https://github.com/neurobin/shc