HYNDMAN, Pa. (AP) — About 1,000 residents of a small Pennsylvania town spent the night in area hotels following a freight train derailment and fire that forced their evacuation.

Bedford County public safety crews and workers from CSX, the train’s owner, helped residents in Hyndman retrieve pets and prescription medicines after they were ordered out of their homes Wednesday. Hyndman is about 100 miles (161 kilometers) southeast of Pittsburgh.

At least 32 rail cars derailed, some containing hazardous materials.

Officials said Thursday they plan to let burning propane dissipate on its own, saying that’s safer than trying to extinguish it. A CSX spokesman says the railroad will release updates on the company’s response.