The executable scripts are always executed if clicked in Pantheon Files, even if the default application to be used is changed for them to a text editor under Properties-Open with.
I have noticed this behavior only for executable scripts (while the opposite happens for desktop files.)
(This is also the cause why the system will not Ask before running script from Pantheon Files.)
Can that me changed?