If an object enters the detection zone the light beam is interrupted and a switching signal is generated

Can you repeat this sentence, but add in punctuation?
If an object enters the detection zone, the light beam is interrupted and a switching signal is generated.
7 And he took the book of the covenant and read in the audience of the people and they said All that the LORD hath said will we do and be obedient

Can you repeat this sentence, but add in punctuation?
7 And he took the book of the covenant, and read in the audience of the people: and they said, All that the LORD hath said will we do, and be obedient.
Darius fled north to the region near the Caspian Sea

Can you repeat this sentence, but add in punctuation?
Darius fled north to the region near the Caspian Sea.