Changed database Engine creation.