Random walk with a drift process

I wasn’t sure that detrending EZ would lead to the same results as the value function iteration or other methodologies. Also, to be honest, I don’t know how to implement the detrending EZ. Should I just make the mean of consumption growth zero? then, the mean of the consumption growth doesn’t matter at all in this approach?