Copy defaulturls array properly

script will now execute for every item a user adds to defaulturls instead of just the first.
Merge pull request #1 from vena/patch-1

Copy defaulturls array properly