Removing singleton variable in story.pl