move lut to the bottom of the file