adding base_os determination