Added REPL mode for in-game scripting