Handle relative links better