Edit DB scripts