Change var storyInput to story