Edits before upload.