fixed sql scripts for initBD