Update templight_driver.cpp