Adding option to change device number to use