Add check for redis extension