Fixing Heroku

Fixing some problems with submitting data. Lots of known problems.