added URL a dataset attribute

moved symbol declaration out of loop
tweak to the name truncation