swap root relative links into header file.