Fix order of commands so redirects work.

Authored by woltherav on Jan 30 2020, 3:21 PM.