Modified deploy,bat