Clean up and upload.