@Miles made upload.sh generic