re-added pages.py