Adding web download functionality for script files