Trying to get the variables from the page to the layout