Added option to load Grayscale images