Making db script 0 work