Update debug flag.
Flip debug switch.
Settings for heroku database.
Rearange databases definitions.
Properly init databases variable.