adding in local flavor and using cached sessions