Bypass "Do you want to..." dialog after clicking script

After I create a bash script and double click it in Nautilus I am prompted with this - Do you want to run "sleepytime", or display its contents? With Run in terminal, Dislpay, Cancel and Run as options.

enter image description here

Is it possible to just choose "run" or "run in terminal" by default?


In Nautilus, choose Edit ▸ Preferences ▸ Behavior ▸ Executable Text Files ▸ Run executable text files when they are opened.