ok so here all steps, based on linux console, but maybe at mac console, it work the same.
First, flash your Device with the right and latest Firmeware, in my case it is a Heltec ESP32
./device-install.sh -p /dev/ttyUSB0 -f firmware-heltec-EU865-1.1.32.bin
Now create the script and modify the paramter “owner” and GPS position
set it to chmod 777
and fire it up!