Modified dbScript