fix #364 added ability to run scripts from a URL

Solution to #364. I thought I'd spike it and it turned out to be so easy that I thought I'd just PR it anyway.

Yours if you want it :wink: