enhanced code comments and fixed history to work with files that have hyphens in them