fixed upload script (removed -a flag to curl)