modified deploy