Added many options, devname, choise reset line and other.