mergeing to how flask wants advanced app