Adding opening text and links to document