Fix bug not grabbing corresponding script snippet properly.
Fix rebase.
using nextAll to grab adjacent

Remove extra rebase cruft.
Adds a WIP option in section name which causes wip class to be added