new sql script and db.js connection changed for heroku