MDS not running workflow script big sur

When I try to run scripts I get the following message in pic. Does mds need to be run from a Mac recovery I am using internet recovery terminal if that makes a difference.

it looks like the run file got corrupted somehow.

Look on the drive for the run script and open in an editor.