Added some php code into index.php