Changed index.html to index.php and added php code to top