Move from xflux to redshift