Correct any errors in capitalization or punctuation. Your answer should be a single sentence.

"Packing an emergency blanket is imperative." the park ranger advised the hikers "because the weather at this altitude is unpredictable."

"Packing an emergency blanket is imperative," the park ranger advised the hikers, "because the weather at this altitude is unpredictable."