Db scripts problems fixed at last