flask updates to support Regions