first draft of cloud upload/message scripts with version numbering