Improving cheb.gallery