How does automation help to optimize operational costs