ffmpeg shell script – Automator

Im trying to make some simple action script that will convert all screen recordings (.mov) to .mp4. Here is what I have in shell

for f in "$@"
do
    ffmpeg -i "$f" -c:v copy -c:a copy "${f%.*}.mp4"
done

Location of the folder

/Users/Home/Documents/screenshots/example.mov

Location of ffmpeg
/usr/local/Cellar/ffmpeg and I have ffmpeg alias in usr/bin

Screen Shot 2019-09-22 at 8.45.24 PM.jpg

When Im typing manually in Terminal

fmpeg -i example.mov example.mp4

everything works OK

Any idea what Im doing wrong?

Tnx!