added lua script loading