index.php now uses config.php