Finished target uploading function