- Added code to deactivate DBAL if not needed