first version of upload-all script