add cleanup script to keep only most recent entries