Updated to use new way of calling diesel engine.