Modified db init script