add footer directive