Fixing relative links. 

Still need to make this configurable.