add OS type selection support