Create the run_engine() helper