add clustering.pl and period_search.pl scripts