added lut_gen.pl
TODOs