In the 13th century few were prepared to even consider the possibility of scientific research and most considered that knowledge all came from God through ancient divinely inspired writings

What is the correctly punctuated version of this sentence?
In the 13th century few were prepared to even consider the possibility of scientific research, and most considered that knowledge all came from God through ancient divinely inspired writings.