changing links to be relative