Improved Grunt build task and modified PHP API call handler to deal with sections and stories separately