Only set DEDI* stuff if we need to