What is the version of the following sentence with correct punctuation?

As the craft heads out of the Solar System the change in frequency of the signals received on Earth enables engineers to calculate the speed of the spacecraft
As the craft heads out of the Solar System, the change in frequency of the signals received on Earth enables engineers to calculate the speed of the spacecraft.