Updated fagi.pl and statistics script