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

However through dialogue the authorities can also focus on the areas which relate to the whole life cycle of the product eg the manufacturing of raw materials the employment phase and the disposal of the product
However, through dialogue the authorities can also focus on the areas, which relate to the whole life cycle of the product, e.g. the manufacturing of raw materials, the employment phase and the disposal of the product.