change to relative urls in layout