add shell script to update metrics for cron