Tweaking flask app