updated the upload script to handle:

1. there are more than one zip file in the current working folder

2. the html file returned instead of JSON when the canvas site in unavailable