Finalize for deployment