Added ability to backup the grayscale values.