flask working