Improved db.sh, changed sql files naming convention