interactiveconsole: Allow specifying mode from command line parameter
This is needed for the runner, which has two different keywords for the two scripting modes
This is needed for the runner, which has two different keywords for the two scripting modes