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

The appear most commonly on legs but potentially can form in any body part
The appear most commonly on legs, but potentially can form in any body part.