removed sql
fixes
fixes for heroku
changes