Modifying and extending the upload/download scripts.
Created separate upload and download.