changes for new data/xmltest.php script uses less memory