separated out header/footer scripts into includes