Switched to flask, finally