Fix upload script.