Added code to all pages