add main to populate.py