add lua support.