choose device from command line