Byline function

Removes the duplicated byline code.  Makes it easier to change in one place & have that reflected everywhere a byline is needed.

Fixes #713