added links to config and fixed link creation to use service