modified deploy procedure, added core patch