Passing into Run Script Over SSH

So, I have a complicated script that I want ro run from a. shortcuts. a very simple script works fine, but this one has one difference that jumps out at me as a potential source of the problem, it contains backticks.

sqlite3 com.plexapp.plugins.library.db 'select,shows.title,episodes.title,seasons.`index`,episodes.`index` from metadata_items ...

Who I run this, I get nothing back in shortcuts, I get the expect result with the identical command type into the shell or into an sqlite3 session, so I figure iOS is getting confused by the backticks.

I tried using ` but that failed as well. I then tried using [index] on the command lines and that worked instead of the index, but still fails when run from shortcuts. :woman_shrugging:

Sigh. Never mind,. I R super dumb today.