Tighten up to only set the engine variable once.