Revert "Revert "Update main.php""

This reverts commit 9ebd3247c0bdaee5f2bec5fc0c73e1437084e6f9.