How technology helps firms beat weather