adding db script. Huan