Fiddling with flask debug.
goodbye env
Upgrade to version 3