Minor changes to run through all elements. Getting URL element. Needs to be implemented with XML and find a way to print to file again