modify tw deploy plugin