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

During the meeting the team discussed a longterm plan for Debians infrastructure reviewing the machines currently administrated and formulating procedures regarding account and group management
During the meeting the team discussed a long-term plan for Debian's infrastructure, reviewing the machines currently administrated, and formulating procedures regarding account and group management.