Fire crews in a central Illinois town are fighting to prevent a possible chemical explosion following the derailment of a freight train that contains tankers of burning ethanol, a component used in gasoline production.

Twenty-six cars of the 131-car train derailed early Friday morning in Tisilkwa, Ill., about 115 miles southwest of Chicago, apparently with nine carrying ethanol. The entire town of Tisilkwa was evacuated Friday due to fears about a possible chemical explosion.

Safety officials first decided to let the flames die off on their own, but by Friday afternoon, following fears the tanks will break open due to the mounting heat, the firefighters changed course and are currently pouring water and foam on the tankers.