modify index, head and footer includes