Fix file headers and footer for ELPA compatibility