Fix for grid affirmation page and image conversion to grayscale