adding directives for footer and alerts