Adding database selection for redis