integrate represent.py into web