Add configure for heroku
Fixed dbSearch err