Preparation of code to reintegrate grayscale importing