adding header and changing paths in layout