correct scripts with the new db configuration
correct scripts with the new db configuration