added automatic page context :: closes #7