added ruby script to process xml