added commandline option to set device