quick change to db script

might fix it, untested as of yet.