Moved IDF scriptlet from header to post-footer