Adjusting links to be relative