add a bit more code to main.py but need to look up the standard template to get it running