cleanup db script