Adding some SQL and hrefs for source info