prepared: index.php for main functionality