code now writing info to page from page.py