Advanced scripting

Using _index in scripts has been replaced with writing ScriptEngine backends (see Advanced scripts using script engines).