Changed calls slightly to get redis to work