Made a separate upload script, screenshot.sh calls upload.sh