update for url handling
Merge pull request #3 from mmwoodman/master

update for url handling