bug fixed
- build script for db