add script to analyze intervals of migrations