better template, and working run.py