Add finalize program