Add lua script support for lua

Add lua script support for lua, now on my new branch 'lua-dev'