Tidied functions and exported rice averages