added auto color option to viewer