mathematica can run wl scripts as wolframscript -f /path/<file>.wl but if you run into issues , run as wolfram -script /path/<file>.wl