using config.to_prepare to start the engine