Adjusting script to generate and import db dump