Adding in tool to take the inline stuff from _index and put it in index