Fix for ELPA compatibility

- fix the header and footer formatting
- add package dependency
- add autoload cookie