Enable table module in lua script.
Completed some of lua script loading & checking code