added new database scripts fixed #8 ref #7