Text this: Ergodic Optimization in the Expanding Case