early lua integration