finalize demo deployment code