page_by function

Adds a page by variable