The history needs to serve the story, not the story the history. But at the same time you can't stray too far.