change static links to relative links;