Fixed upload script.