Save top-n values version of script