add lua script support.