add lua resource