Changed to auto detect.