Created Lua running scripts
Rewrited running script in Lua