Quick fix for the lookup table script