misc (mostly lua)