dbscripts cleanup