make metr.py run as main