I must have restarted the Docker container and it upgraded Plex. My script location was no longer valid.
Shout out to another script that does transcoding to MKV: