For what i can see in the image, you have several problems in that script:
It's better to start the first line, called hashbang, with:
This will allow for atomatic detection where , the shell the script is written for, to be located upon execution.
You use paths starting like which means it will ONLY work when the script is started in the directory it expects to be started in. means current dir... So you need to change at least those, or make sure you change directory before executing the script or command that uses it.
Shellscripts are by convention named with a extension, this is not a requirement in Linux but more a convention, it might help...
PS: When you "double-click" any script in your file browser, Dolphin, they are not executed in the directory they are saved in, but more likely your home dir as current dir...
My issue is they don't try to run but if I input manually things work fine. I kinda wonder if something is broken since I used the offline installer then rebased to the current version.