mode updates for deploy script