Add flask debug option, may break things!