Update index.php

Better installation handling