use the better detection of lua