Detroit scripting engine