Put main into driver.