Added the hook to all pages, created settings page.