Adding some corrections on load DDBB script