saving rank images locally