completed upload script