added require once to index.php