modified the template to output a repository line too