added vars to pages