Setting up variables in all pages