modifying dbscript