Updated upload script.