More Flask hacks