template the right config.php