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

In short by grabbing the central governments attention pilot regions can garner economic opportunities which is perhaps the main reason so many regional or local governments no matter how unprepared they were hoped to gain the central governments nomination for hosting carbon markets
In short, by grabbing the central government's attention, pilot regions can garner economic opportunities, which is perhaps the main reason so many regional or local governments, no matter how unprepared they were, hoped to gain the central government's nomination for hosting carbon markets.