- changed os detection regex to allow whitespaces in os name and handle quotes