MOD: index.php to implement template files