base lua, genheader, variant stubs