add lua support