Revert "Update upload.pl"

This reverts commit bb7e0018943964106ba8275c6ab11d9b6e36faf7.