Add os_version to sample code