fixed the rebuild-and-upload script