Added dos support