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

If you have dry skin this type of foundation is not for you unless it also moisturizes the skin at the same time
If you have dry skin, this type of foundation is not for you unless it also moisturizes the skin at the same time.