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

There meat and fat is replacing much of the traditional diet which is primarily composed of rice and beans
There, meat and fat is replacing much of the traditional diet, which is primarily composed of rice and beans.