Added switches to enable usage of device rather than host functions