Fix pre-run invocation