Updated updated engine drive code