Replaced hard-coded header and footer with remote copies