Added support for downloading scripts