Allow custom comment rather than $name

At the moment a comment with $name is added at the top of the $name.list. This patch allows a comment to provided as a parameter.