Properly handle redirects in Script Dependencies

Closes GH-72