Updated reduction script by cron job