Look at device mode instead of args