the lookup table is now loaded from an external file instead of hardcoded in this python script