Could you give me example how can I run the bash script as script from the terminal on MacOS?