Modified dbScript.php