Added display_average_from_os_args function