Patch script to reduce deployment time