back to flask and working