changes links to relative urls