Adding DOS support