Upload logic finished