added XML version of streams.php