Move downloads to external scriptfile resource