Creating index.php file from standard html template