Update Main.php

Another update.