Changed headless setting to false