Ah I see here it is hardcoded to ethernet. Might be good to do that earlier as well then, slightly faster I think.