Scripting via coroutines and Lua added