Switched to batch inserting sections instead of one at a time