add lua library to support lua plugin