Issue with Before Snapshot script Location

I am running into an issue I really appreciate help with. I am using unraid docker. I am trying to get a script to run before snapshot, but Im running into an issue where kopia isnt seeing it. What could I be missing? Ive tried about every location I could try within the kopia docker container. I have rain the script from within the docker container successfully. But when I try to trigger a snapshot, this is what I see in the error log.

ERROR error running non-essential action command: exit status 127
upload triggered via API: root@VDnas:/appdata/Plex-Media-Server
/tmp/kopia-action2894749624/ 1: not found