Add header and footer filtering script.