not bash, run as a shell script