#56 I fix some issues in the DB scripts