Easily convert Safari .webloc files to Internet Explorer .url files and vice versa with this OSX script

Drag and drop doesn't work for me, but running the script and then selecting the source file and target format does.