Change Script Interpreter field to Invocation String, and allow ${scriptfile} within the string

- [x] Rename from "Interpreter" field to "Invocation string".
- [x] Allow `${scriptfile}` within the script invocation string to determine where the actual tempfile path is used when invoking the script.

for #894