When public relations spokesperson Ray Embrey (Jason Bateman) departs from an unsuccessful meeting pitching his All-Heart logo for corporations who are extraordinarily charitable, he becomes trapped on railroad tracks with an incoming freight train. Hancock saves Ray's life, but he causes the train to derail and nearly injures another driver. Hancock is jeered by other drivers for causing more damage, but Ray steps in and publicly thanks Hancock for saving his life. Ray offers to improve Hancock's public image, and Hancock grudgingly accepts. The spokesperson convinces the alcoholic superhero to permit himself to be jailed for outstanding subpoenas so they can show Los Angeles how much the city really needs Hancock. When the crime rate rises after Hancock's incarceration, the superhero is contacted by the Chief of Police. Reluctantly donning a new costume (which has been provided by Ray), Hancock foils a bank robbery, aiding a wounded officer and stops the leader of the robbers, Red