added date checking, only rerun if more than 30 days old